package com.budwk.app.enterprise.models;

import com.budwk.starter.common.openapi.annotation.ApiModel;
import com.budwk.starter.common.openapi.annotation.ApiModelProperty;
import lombok.Data;
import org.nutz.dao.entity.annotation.*;
import org.nutz.dao.interceptor.annotation.PrevInsert;

import java.io.Serializable;

/**
 * 利润表(一级指标)
 */

@Data
@Table("dfxy_enterprise.zb_income_statement_base_detail")
@Comment("利润详情表")
@ApiModel(description = "利润详情表")
public class IncomeStatementBaseDetail extends BaseCommonModel implements Serializable {

    private static final long serialVersionUID = 1L;

    @Column
    @Name
    @Comment("ID")
    @ApiModelProperty(description = "ID")
    @ColDefine(type = ColType.VARCHAR, width = 32)
    @PrevInsert(els = {@EL("snowflake()")}, nullEffective = true)
    private String id;

    @Column("income_statement_base_id")
    @Comment("利润基本表id")
    @ApiModelProperty(description = "利润基本表id")
    @ColDefine(type = ColType.VARCHAR, width = 50)
    private String incomeStatementBaseId;

    @Column("less_operating_costs")
    @Comment("减：营业成本")
    @ApiModelProperty(description = "减：营业成本")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String lessOperatingCosts;

    @Column("taxes_surcharges")
    @Comment("税金及附加")
    @ApiModelProperty(description = "税金及附加")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String taxesSurcharges;

    @Column("selling_expenses")
    @Comment("销售费用")
    @ApiModelProperty(description = "销售费用")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String sellingExpenses;

    @Column("overhead")
    @Comment("管理费用")
    @ApiModelProperty(description = "管理费用")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String overhead;

    @Column("financial_expenses")
    @Comment(" 财务费用")
    @ApiModelProperty(description = " 财务费用")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String financialExpenses;

    @Column("impairment_loss")
    @Comment("资产减值损失")
    @ApiModelProperty(description = "资产减值损失")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String impairmentLoss;

    @Column("expressed_income")
    @Comment("加：公允价值变动收益（损失以“－”号填列）")
    @ApiModelProperty(description = "加：公允价值变动收益（损失以“－”号填列）")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String expressedIncome;

    @Column("investment_income")
    @Comment("投资收益（损失以“－”号填列）")
    @ApiModelProperty(description = "投资收益（损失以“－”号填列）")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String investmentIncome;

    @Column("associates_ventures")
    @Comment("其中：对联营企业和合营企业的投资收益")
    @ApiModelProperty(description = "其中：对联营企业和合营企业的投资收益")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String associatesVentures;

    @Column("plus_income")
    @Comment("加：营业外收入")
    @ApiModelProperty(description = "加：营业外收入")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String plusIncome;

    @Column("gains_disposal")
    @Comment("其中：非流动资产处置利得")
    @ApiModelProperty(description = "其中：非流动资产处置利得")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String gainsDisposal;

    @Column("less_expenses")
    @Comment("减：营业外支出")
    @ApiModelProperty(description = "减：营业外支出")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String lessExpenses;

    @Column("non_assets")
    @Comment(" 其中：非流动资产处置损失")
    @ApiModelProperty(description = " 其中：非流动资产处置损失")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String nonAssets;

    @Column("tax_income")
    @Comment("减：所得税费用")
    @ApiModelProperty(description = "减：所得税费用")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String taxIncome;

    @Column("profit_future_income")
    @Comment("(一)以后不能重分类进损益的其他综合收益")
    @ApiModelProperty(description = "(一)以后不能重分类进损益的其他综合收益")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String profitFutureIncome;

    @Column("refresh_net_assets")
    @Comment("重新计量设定受益计划净负债或净资产的变动")
    @ApiModelProperty(description = "1.重新计量设定受益计划净负债或净资产的变动")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String refreshNetAssets;

    @Column("under_investee")
    @Comment("权益法下在被投资单位不能重分类进损益的其他综合收益中享有的份额")
    @ApiModelProperty(description = "权益法下在被投资单位不能重分类进损益的其他综合收益中享有的份额")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String underInvestee;

    @Column("profit_reclassified")
    @Comment("(二)以后将重分类进损益的其他综合收益")
    @ApiModelProperty(description = "(二)以后将重分类进损益的其他综合收益")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String profitReclassified;

    @Column("comprehensive")
    @Comment("权益法下在被投资单位以后将重分类进损益的其他综合收益中享有的份额")
    @ApiModelProperty(description = "权益法下在被投资单位以后将重分类进损益的其他综合收益中享有的份额")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String comprehensive;

    @Column("financial_assets")
    @Comment("2.可供出售金融资产公允价值变动损益")
    @ApiModelProperty(description = "2.可供出售金融资产公允价值变动损益")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String financialAssets;

    @Column("maturity_assets")
    @Comment("3.持有至到期投资重分类可供出售金融资产损益")
    @ApiModelProperty(description = "3.持有至到期投资重分类可供出售金融资产损益")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String maturityAssets;

    @Column("portion_cash")
    @Comment("4.现金流量套期损益的有效部分")
    @ApiModelProperty(description = "4.现金流量套期损益的有效部分")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String portionCash;

    @Column("foreign_financial")
    @Comment("5.外币财务报表折算差额")
    @ApiModelProperty(description = "5.外币财务报表折算差额")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String foreignFinancial;

    @Column("earnings_per_share")
    @Comment("(一) 基本每股收益")
    @ApiModelProperty(description = "(一) 基本每股收益")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String earningsPerShare;

    @Column("diluted_per_share")
    @Comment("(二) 稀释每股收益")
    @ApiModelProperty(description = "(二) 稀释每股收益")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String dilutedPerShare;
}















